home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / earcd / util2 / extractr.rea < prev    next >
Text File  |  1996-02-22  |  981b  |  27 lines

  1. Short:        Extract text file section to stdout V1.0
  2. Author:       nick.christie@oucs.ox.ac.uk (Nick Christie)
  3. Uploader:     nick.christie@oucs.ox.ac.uk (Nick Christie)
  4. Version:      1.0
  5. Type:         util/cli
  6. Requires:     AmigaOS V2.04+
  7. Distribution: Freeware
  8.  
  9. A small command line utility I wrote because I needed it.
  10. Maybe it's of some use to you, too.
  11.  
  12. Usage:      Extract FILE/A OFFSET/N LENGTH/N BYTES/S
  13.  
  14. Where:      FILE
  15.                 is the file to extract a section from.
  16.             OFFSET
  17.                 is the 0-based line or byte offset to start at. If the
  18.                 offset is past the end of the file, nothing is printed.
  19.             LENGTH
  20.                 is the number of lines or bytes to print. If the length
  21.                 extends beyond the end of the file, printing stops at EOF.
  22.             BYTES
  23.                 is a switch that indicates the offset and length
  24.                 are in bytes rather than lines.
  25.  
  26. $VER: Extract.readme 1.0 (3.12.95)
  27.